package com.happok.onlineclass.usermanagement.setting.service;

import com.happok.onlineclass.usermanagement.setting.dto.FunctionClassifyEnum;
import com.happok.onlineclass.usermanagement.setting.dto.UpdateVerifyDTO;
import com.happok.onlineclass.usermanagement.setting.po.FunctionSettingPO;

import java.util.List;

/**
 * 功能说明
 *
 * @author : chenac
 * @version : v1.0
 * @date : 2021/10/12 12:18
 * @updateUser : chenac
 * @updateTime : 2021/10/12 12:18
 * @updateRemark : 无
 * @since : Springboot 2.5.2
 */
public interface FunctionSettingDaoService {

    void openOrCloseFunction(FunctionClassifyEnum functionClassify, Boolean open);

    void updateFunctionSetting(FunctionClassifyEnum functionClassify, UpdateVerifyDTO updateVerify);

    FunctionSettingPO getFunctionSetting(FunctionClassifyEnum functionClassify);

    List<FunctionSettingPO> listFunctionSetting();
}